package com.wash.shoes.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wash.shoes.domain.vo.ShoeVo;
import com.wash.shoes.entity.ShoePo;
import com.wash.shoes.request.ShoeQueryRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * 清洗得鞋子 Mapper 接口
 * </p>
 *
 * @author ljg
 * @since 2024-08-28
 */
public interface ShoeMapper extends BaseMapper<ShoePo> {

    /**
     * @author lijianguo
     * @Date 31/08/2024
     * 分页
     **/
    List<ShoeVo> pageList(@Param("page") Page page, @Param("shoePo") ShoeQueryRequest shoePo, @Param("shopId") String shopId, @Param("userBindType") String userBindType);

    /**
     * @author lijianguo
     * @Date 01/09/2024
     * 订单的鞋子
     **/
    List<ShoePo> getByOrderId(@Param("orderId") String orderId);

    /**
     * @author lijianguo
     * @Date 01/09/2024
     * 鞋子的详情
     **/
    ShoeVo shoeDetailByWashCode(@Param("washCode") String washCode);

    /**
     * @author lijianguo
     * @Date 01/09/2024
     * 鞋子的详情
     **/
    ShoeVo shoeDetailById(@Param("id") String id);

    /**
     * @author lijianguo
     * @Date 01/09/2024
     * 没有清洗的鞋子
     **/
    List<ShoePo> orderNotWashShoe(@Param("orderId") String orderId, @Param("shoeId") String shoeId);

    /**
     * @author lijianguo
     * @Date 24/10/2024
     * 请输入方法的简介
     **/
    List<ShoePo> getWashShoe();
}
